Meaning of the word "just what the doctor ordered" in English

What does "just what the doctor ordered" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

just what the doctor ordered

US /dʒʌst wɑt ðə ˈdɑk.tər ˈɔr.dərd/
UK /dʒʌst wɒt ðə ˈdɒk.tər ˈɔː.dəd/
"just what the doctor ordered" picture

Idiom

exactly what is needed or wanted, especially to improve a situation or make someone feel better

Example:
A warm cup of tea and a good book were just what the doctor ordered after a long day.
This vacation to the beach is just what the doctor ordered to relieve my stress.